home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / PROGEDIT / 0344.ZIP / E88.DOC < prev    next >
Text File  |  1986-07-08  |  25KB  |  475 lines

  1.                ┌───────────────────────────────────────┐
  2.                │  * * * *   E88 TEXT EDITOR   * * * *  │
  3.                │  --- Release P2.01 Documentation ---  │
  4.                └───────────────────────────────────────┘
  5.  
  6.     The E88 text editor was written primarily to be used as an alternative
  7. to the DOS supplied EDLIN line editor program. This editor is intended to
  8. be a fast, compact, and easy to use screen editor for editing or creating
  9. program source code. It is not a word processor and is not nearly as comp-
  10. plicated to learn or use.
  11.  
  12.                       *   EQUIPMENT REQUIRMENTS   *
  13.  
  14. Computers supported:
  15.     E88 supports the I.B.M. PC/XT, PCjr., and all true compatibles.
  16. --------------------------------------------------------------------------
  17. Operating systems:
  18.     E88 is compatible with MS/PC DOS 2.00 or later.
  19. --------------------------------------------------------------------------
  20. Keyboard:
  21.     The keyboard is BIOS supported which implies that it will function
  22. normally according to the machine BIOS the program is used with. The Alt-
  23. numeric keypad entry method is in effect if supported by the BIOS. This
  24. method allows the user to enter any ASCII code by holding the [Alt] key
  25. and typing in the ASCII code number on the numeric keypad.
  26. --------------------------------------------------------------------------
  27. Video display:
  28.     E88 supports both the color graphics and monochrome display adapters.
  29. This editor drives these display adapters directly, which results in very
  30. high speed display control. This feature may cause problems when run on
  31. machines that are not I.B.M. display compatible.
  32. --------------------------------------------------------------------------
  33. Disk control:
  34.     All disk functions are controlled through standard MS-DOS function
  35. calls. The DOS pathname/file handle protocol of versions 2.00 and later
  36. is now supported. Any valid path and filename can now be used in the file
  37. specification. This is a change from version 1.0 which was written to run
  38. under older versions of D.O.S.
  39. --------------------------------------------------------------------------
  40. File type:
  41.     E88 provides standard ASCII input and output. This is the file type
  42. required by most assemblers and compilers. It is compatible with all known
  43. ASCII file types at the time of this release.
  44. --------------------------------------------------------------------------
  45. Printer:
  46.     The printer output from E88 is standard ASCII text which should be
  47. acceptable to all printers. It should also be noted that no filtering is
  48. done on the text when it is sent to the printer. The user may specify any
  49. special codes such as escape codes directly on a line in the file and
  50. force the printer to do whatever he desires. Some special characters in
  51. the I.B.M. extended character set (above ASCII 127) as well as some control
  52. characters (below ASCII 32) may not be acceptable to some printers and
  53. could cause unusual looking printouts.
  54. --------------------------------------------------------------------------
  55.  
  56.                           *   USING E88   *
  57.  
  58. Filenames:
  59.     Standard DOS notation is acceptable .(Pathnames are now supported)
  60. note: .ASM is the default extension for the file, but the user may
  61.       specify any default desired through the setup process.(more later)
  62.  
  63. example:  C:MYPROG.TXT <ENTER> would load MYPROG.TXT from drive C:
  64. example: MYPROG <ENTER> would load MYPROG.ASM from the default drive.
  65.  
  66. --------------------------------------------------------------------------
  67.                         *   THE EDIT SCREEN   *
  68.  
  69. Top line information:
  70.  
  71. FILENAME    LINE       COL      FREE         MODE           COM KEY:[F1]
  72. current   │ text   │ cursor │  80 char. │ current mode  │ just a reminder
  73. file      │ line#  │ column │ lines free│   EDIT etc.   │ for command modes
  74.  
  75. Note: The path is not shown on the top line filename area, however
  76.       selecting the change filename option (discussed later) will display
  77.       the current path.
  78.  
  79. Note: The indicated line number represents the current line that the cursor
  80.       resides on IN THE FILE being edited. A line consist of a screen line.
  81.  
  82.       example:  ---> this is supposed to represent text on the screen ok
  83.                 ---> text text text text text text more text etc.. on an on
  84.                 ---> new line of text across screen starts at arrow on left
  85.  
  86.       represents 3 lines of the text file
  87. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  88.  
  89. The rest of the screen:
  90.  
  91.     The remainder of the screen contains the text file that is being edited
  92.     and also contains a --->, nothing or the word "Free" in the first five
  93.     columns of the screen on each line. An arrow ---> means that this is
  94.     the beginning of a new line. If the first five columns are blank, the
  95.     line is an extension of the previous line. There is no limit on line
  96.     length. It is the user's responsibility to insure that the length does
  97.     not exceed that which is acceptable to the assembler or compiler that
  98.     the text file is to be used with. The word "Free" in the left 5 columns
  99.     indicates that this line is available but not in use. The appearance
  100.     of the first line marked "Free" is the physical end of file. Although
  101.     it is possible to type on these free lines, any text present on these
  102.     lines will not be saved to disk. This feature will allow the user to
  103.     make notes on these lines if desired, although these notes will not be
  104.     saved or reloaded.
  105.  
  106. Note: Extended lines are counted as a line when refering to E88's line
  107.       number or free lines remaining imformation. They are however saved
  108.       to disk as being one complete line of text.
  109.  
  110.       Example: ---> this represents a line of text on the E88 editor screen
  111.                     which is extended ( notice no arrow ) into this line
  112.  
  113.       * 2 lines to E88 but only one long line to the disk file.
  114.  
  115. --------------------------------------------------------------------------
  116.                        *   PROGRAM CONTROL   *
  117.  
  118.     The E88 editor simulates a long scroll of text which can be moved very
  119. quickly. The following is an overview of how this control is obtained.
  120. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  121.  
  122. The numeric keypad:
  123.  
  124.     The numeric keypad provides standard cursor as well as screen control.
  125.  
  126. [Up]  [Dn]  [Lt]  [Rt]
  127.     The four arrow keys provide cursor control as expected but also provide
  128.     screen control. Whenever a cursor movement would cause the cursor to be
  129.     positioned off the top or bottom of the screen an automatic screen
  130.     scroll will occur. This includes end wrap for the left and right arrows
  131.     as well as simply holding the up and down arrow keys to force a scroll.
  132.  
  133. [Pg Up]  [Pg Dn]
  134.     The page up and page down keys will cause an immediate 24 line scroll
  135.     to the preceeding or following page of text.
  136.  
  137. [Home]  [End]
  138.     The home and end keys will cause a 1 line scroll up and down.
  139.  
  140. [Ctrl]  [Home]
  141.     The key combination of [Ctrl] [Home] will home the cursor.
  142.  
  143. [Ctrl]  [End]
  144.     This combination will place the cursor at the end of the current line.
  145.  
  146. [Ins]
  147.     Toggles the editor into and out of insert character mode. (more later)
  148.  
  149. [Del]
  150.     Deletes the character at current cursor position.
  151. ---------------------------------------------------------------------------
  152.  
  153. The function keys:
  154.  
  155.     The function keys provide access to the command modes as well as some
  156. screen and edit features as well.
  157.  
  158. [F1]
  159.     F1 calls the main command menu window, discussed in detail later.
  160.  
  161. [F2]
  162.     F2 calls the printer !?  Make sure the printer is on (if it isn't, E88
  163.     will wait until it is). Place the cursor on the line where the print-
  164.     out is to start and press [F2]. The printer will print lines and the
  165.     cursor will move and the screen will scroll until any key is pressed or
  166.     the end of file is reached. The cursor indicates the line currently
  167.     being printed. Termination of the print will restore the screen and
  168.     cursor to their previous positions.
  169.  
  170. [Alt.] [F2]
  171.     This key combination causes the same action as described above except
  172.     that the arrows are not printed. This provides a cleaner looking print-
  173.     out when editing DOC files and other text files.
  174.  
  175. [F3]  [F4]  [F5]  [F6]  [F7]  [F8]
  176.     F3 through F8 are called pagers. Pressing these keys will cause the
  177.     text to scroll instantly to a page that has been preset by the user.
  178.     To preset the page for each key, simply scroll to the desired page,
  179.     hold the shift key down, and press F3 to F8. That key is then set
  180.     to the displayed page and will return to that point from anywhere in
  181.     the text. These keys will remain set until reset, which can be done as
  182.     often as necessary.
  183.  
  184. Note: Upon startup the pager keys are set up to split the file into equal
  185.       parts. [F1] points at the 1st page and [F8] points at the last page
  186.       in the file with all others equally spaced in between. This is a new
  187.       feature of version 2.00 which allows rapid access to any area in the
  188.       file.
  189.  
  190. [Alt.] [F8]
  191.     This is the load buffer command key combination. When this command is
  192.     issued, the line that the cursor is on will be loaded into a 32 line
  193.     buffer. The cursor will then move to the next line down, which, if the
  194.     user desires, may also be loaded. Up to 32 lines may be stored in this
  195.     manner and recovered with the [F10] key. The use of this command in
  196.     combination with the [F10] key may used to do a block copy of up to
  197.     32 lines at a time.
  198.  
  199. [F9]
  200.     F9 will insert a line into the text directly above the line that the
  201.     cursor is on when the key is pressed.
  202.  
  203. [Alt.] [F9]
  204.     This key combination will toggle the attribute of the current line.
  205.     It will change an extended line into a new line or a new line into an
  206.     extended line. This can be used to seperate or join lines in the file.
  207.  
  208. [F10]
  209.     This key will automatically insert a line of text which has been
  210.     saved in the 32 line buffer. The insert will occur at the current
  211.     cursor position in the same manner that the [F9] key effects an
  212.     insert. Lines may be saved into the buffer by the [Alt.] [F8] load
  213.     buffer command or by the [Alt.] [F10] delete line command.
  214.  
  215. [Alt.] [F10]
  216.     This key combination is the delete line command. When this command is
  217.     used the current line will be deleted from the screen and the file
  218.     will scroll up to fill the vacated space. The deleted line is not lost
  219.     forever however, it is placed in a 32 line circular buffer. The last
  220.     32 deleted lines may be recovered by simply pressing [F10] after
  221.     positioning the cursor at the desired insert position. Using the key
  222.     sequences of [Alt.] [F10] and [F10] in combination can be used to move
  223.     a block of text (up to 32 lines at a time) from one place in the file
  224.     to another.
  225.  
  226. NOTE: The circular buffer
  227.     The circular buffer referred to in the previous function descriptions
  228.     is used as temporary storage area for deleted and saved lines. The
  229.     buffer is always available to accept 32 new lines. Circular implies
  230.     that the last 32 lines either saved or deleted may always be recovered
  231.     from the buffer. The lines are stored using "last in - first out" or
  232.     "STACK" logic.
  233.  
  234. ┌─────────────────┐
  235. │ [Ctrl.] [F1-F10]│
  236. ├─────────────────┴──────────────────────────────────────────────────────┐
  237. │   These key combinations print a special character which has been      │
  238. │   preprogrammed by the user for the particular function key. The       │
  239. │   programming of these keys is discussed later in the setup window     │
  240. │   instructions. The default character set for these keys is the set of │
  241. │   line graphics characters and the use of them is demonstrated by the  │
  242. │   nice outlining around this paragraph.                                │
  243. └────────────────────────────────────────────────────────────────────────┘
  244.  
  245. ---------------------------------------------------------------------------
  246.  
  247. Some other keys:
  248.  
  249. [ENTER]
  250.     The enter key is used much as with any other editor. When typing
  251.     in text, hitting [ENTER] will cause the cursor to move to the start of
  252.     the next line, inserting a line if it is at the end of file. [ENTER]
  253.     also resets the tabs and records in memory the current text screen.
  254.     There is one difference with this editor to many others including the
  255.     Microsoft BASIC program editor. It is NOT necessary to press [ENTER]
  256.     to insure that your screen changes have been preserved. The program
  257.     logic automatically detects a screen change and records the new screen.
  258.     This prevents the old BASIC problem of forgetting to press enter and
  259.     having to re-type a change.
  260.  
  261. [Tab]....located below escape in upper left on the I.B.M. keyboard
  262.     The tab key tabs the cursor to the user preset tabs.
  263.  
  264. [Shift]*[Tab]
  265.     This key combination of shift and the tab key will set a tab on the
  266.     screen. E88 supports 20 tab positions which can be set to function
  267.     in almost any maner the user desires.
  268.     To set the tabs:
  269.   (1.) Press [ENTER] (this clears the tab count)
  270.   (2.) Move the cursor to the desired tab position.
  271.   (3.) Hold down a shift key and press the tab key.
  272.   (4.) Tab 1 is now set and the next tab is ready to be set.
  273.   (5.) Repeat this procedure until the speaker beeps if desired.
  274.  
  275. NOTES on the tab function :
  276. 1.  The speaker will beep when the 20th tab is set. When the speaker beeps
  277.     this indicates that the count is about to start over at the first tab.
  278.     The tab function on both tabbing and setting the tabs is a rollover
  279.     procedure. When the last tab is reached then the program will start
  280.     over with the first tab again. There is no beep during normal tabbing,
  281.     the beep occurs only when setting the tabs.
  282.  
  283. 2.  The tabs can be set in any order desired. The cursor does not have to
  284.     tab from left to right. For example 38,24,36,5,10,15,38,24,36,71,∙∙∙
  285.     is a perfectly legal tab setup. The default tab setup is a repeating
  286.     sequence of 5,15,25,45,5,15,25,45,5,15,25,45 and so on.
  287.  
  288. 3.  Any tab can be set at any time. Simply clear the tab count by pressing
  289.     [ENTER]. Tab the cursor normally with the tab key while counting the
  290.     number of tabs. When the desired tab is reached, position the cursor
  291.     on the proper column and perform step 3 above.
  292.  
  293. 4.  The tab setup is saved within the setup file E88SETUP.DEF which is
  294.     discussed later in the command mode section. To save the tab setup,
  295.     the user must go into setup mode. (See command mode option "E.")
  296.  
  297. [Ins]
  298.     More on the insert key. The insert and delete character keys work
  299.     exactly like they do in the BASIC program editor. The insert key
  300.     toggles on and off. Insert mode is indicated by a "fat" cursor. When
  301.     insert is enabled, characters will be inserted into the line at the
  302.     current cursor position while all characters to the right are moved and
  303.     wrapped around to the next line if necessary. The editor will also
  304.     insert an extension onto the line if needed. The insert mode is toggled
  305.     off with any screen or cursor movement.
  306.  
  307. Alphanumeric keys:
  308.     Type as usual.
  309. ---------------------------------------------------------------------------
  310.                         *   COMMAND MODES   *
  311.  
  312.     Pressing function key [F1] will call E88's command window. The command
  313. mode will allow the user to save,backup,or exit from editing, as well as
  314. setup the editor defaults. The following information is provided to serve
  315. as a guide to the command mode functions.
  316.  
  317. COMMANDS:
  318.  
  319. [Esc]
  320.     The escape key will return to edit mode.
  321.  
  322. (A.) END the edit and save this file
  323.     This option will save the file to the drive and filename displayed in
  324.     the upper left corner of the screen. The program will return to DOS
  325.     when the save is complete.
  326.  
  327. (B.) BACKUP (create filename.bak)
  328.     This option will create a backup file using the displayed filename (as
  329.     above) but with the extension of BAK. This option can be used as often
  330.     as necessary during the edit to insure that a loss of power or other
  331.     unthinkable event would not cause a loss of data. Note that no backup
  332.     file is automatically produced as with EDLIN.
  333.  
  334. (C.) CHANGE filename (for saving)
  335.     This option allows the user to save a file under a different name.
  336.     This is useful in cases where a standard format is used to set up
  337.     a source file. The user can load the standard file, change the name,
  338.     and save the edited file without effecting the standard load file.
  339.     When pressed, the current file specification will be displayed. The
  340.     user may then press [ENTER] to return with no change or enter the
  341.     new file specification.
  342.  
  343. (D.) HELP
  344.     This option provides a quick reference to most of the key functions
  345.     as well as some very important program information. Press the
  346.     escape key to return to editing.
  347.  
  348. (E.) SETUP (set default parameters)
  349.     This option allows the user to setup the program default parameters.
  350.     When this option is selected, a setup window will replace the command
  351.     window. This window will present the user with a number of keys which
  352.     will change the program parameters. If the user so desires, the setup
  353.     will be saved to the current directory in a file named E88SETUP.DEF.
  354.     E88 searches for this file when it is executed and if found, configures
  355.     itself to the specified parameters. If this file is not found, then E88
  356.     uses it's internal defaults. It is possible to create several setup
  357.     files in different directorys. This will allow the user to taylor the
  358.     editor to the job at hand.
  359.     The file, E88SETUP.DEF, can only be created from the setup window.
  360.  
  361.  A NOTE ABOUT COLOR SELECTION :
  362.     Each time a color select key is pressed, the color will change on the
  363.     screen in the sequence of black, blue, green, cyan, red, magenta, yell-
  364.     ow and white. Foreground and border colors will provide 16 increments
  365.     of this sequence with the last 8 increments being the high intensity
  366.     color set. Background colors increment 8 times. When the sequence is
  367.     complete it repeats. When using E88 on a monochrome display adapter it
  368.     will be necessary for the user to press the setup keys many times to
  369.     effect a change. This is due to the limited number of attributes that
  370.     the adapter is capable of displaying. The border color select option
  371.     is also not functional when using a monochrome adapter.
  372.  
  373.  OTHER NOTABLE FEATURES OF THE SETUP WINDOW:
  374.     E88 version 2.00 has two added options in setup mode. The user may now
  375.     setup the default filename extension and also program the 10 function
  376.     keys to provide special characters when the [Ctrl.] [F1-F10] key
  377.     combinations are pressed. These options are implemented by selecting
  378.     options `H' and `I' from the setup window.
  379.  
  380.  OPTION (H):
  381.     When the `H' option is selected, the window will be cleared and the
  382.     user will be prompted for a new filename extension.  A new extension
  383.     must then be entered. The extension must consist of 3 characters
  384.     although any three may be used including blank characters. Refer to the
  385.     D.O.S. manual for information regarding valid filename extensions.  The
  386.     new extension will be saved only if the program setup is saved from the
  387.     main setup window.
  388.  
  389.  OPTION (I):
  390.     Selecting option `I' will open a setup window allowing the user to
  391.     program the 10 function keys for special characters. The prompt
  392.     will display the currently defined character for that key and request
  393.     a new character be entered. The user may then enter the character or
  394.     simply press [ENTER] to leave that key unchanged. The program will
  395.     cycle through all ten keys and then automatically return to the main
  396.     setup menu. Note that the [Alt.] keypad method of entering a special
  397.     ASCII character can be used. By holding the Alt. key and typing in the
  398.     ASCII code number of the character desired then releasing the Alt. key,
  399.     any ASCII character may be defined. As with option `H' above, these
  400.     changes will only be saved by pressing [ENTER] from the main setup
  401.     window.
  402.  
  403. (F.) QUIT * RETURN TO DOS * NO SAVE
  404.     This option terminates the editor and returns control to DOS. The file
  405.     is NOT saved. WARNING: There is no second chance!! When this key is
  406.     hit, it's all over. This program is for programmers not button pushers.
  407. --------------------------------------------------------------------------
  408.                       *  STARTUP  OPTIONS  *
  409.  
  410.     E88 may be started by two methods. The user may simply type E88 [ENTER]
  411. and wait for the program to prompt for the edit filename. Or the filename
  412. may be entered on the D.O.S. command line. The default extension that is
  413. selected through the setup window is in effect for both methods.
  414.  
  415.     The program also supports one special option that may be specified on
  416. startup. The /B option will cause the screen blanking feature to be turned
  417. off. This is useful when the program is used on machines that have the
  418. newer display controller chips. It eliminates the "blinking" associated
  419. with the screen scrolling. To test the use of this feature, simply start
  420. E88 using the /B option and check for screen "fetches" when doing page up
  421. and page down commands. If the "fetches" appear then the option should not
  422. be used.
  423.  
  424. Examples:
  425.           E88 [ENTER]     would start E88 and prompt for the filename.
  426.           E88 /B [ENTER]  same as above but without screen blanking.
  427.           E88 E88.DOC     would start E88 and load E88.DOC for editing.
  428.           E88 /B MYPROG   would load myprog.(default ext.) with no blanking
  429.           E88 \path\ MYPROG  loads MYPROG.def from the pathed directory.
  430.  
  431. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  432. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  433.  
  434. Special note:  E88 version 2.00 is written entirely in assembler language
  435.                using the Microsoft Macro Assembler version 4.00 . It is
  436.                completely compatible with this assembler as well. I highly
  437.                recommend this assembler because it was a major factor in
  438.                making this update possible. The source code for E88 is
  439.                quite long and as one might imagine, takes a long time to
  440.                assemble. Or I should say, it used to take a long time. MASM
  441.                4.00 simply "smokes" any other assembler I've tried. My
  442.                thanks and congratulations to Microsoft on an excellent
  443.                product.
  444.  
  445. Benchmark:     Total source code .... 110,021 bytes in 3 files
  446.                Total source lines ... 2175
  447.                Total of all lines ... 2847
  448.                Total symbols ........ 520
  449.                Total assembly time 1 minute 21 seconds, files on ram disk
  450.                Assembled using standard defaults with /A/Z/V options
  451.  
  452. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  453. Special thanks to Van M. Arnold and Thomas O. Ford who helped with the
  454. testing and documentation of E88.
  455. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  456. ───────────────────────────────────────────────────────────────────────────
  457.  
  458. I.B.M., I.B.M. PC, I.B.M. XT, PCjr, and PC DOS are registered trademarks of
  459. International Business Machines Corporation.
  460.  
  461. Microsoft, Microsoft BASIC, Microsoft Macro Assembler, and MS-DOS are
  462. registered trademarks of Microsoft Corporation.
  463.  
  464. (C.) Copyright 1985,1986  E.D. Wooten Jr.   West Point, Mississippi  39773
  465.  
  466. NOTE: The author accepts NO LIABILITY whatsoever involving the use of this
  467.       program. Although I have done extensive testing and debugging of this
  468.       program to insure that it will not cause any problems to end users,
  469.       it should be noted that this is public domain software and that the
  470.       use, reproduction, and distribution is beyond my control. In short:..
  471.                       *  USE AT YOUR OWN RISK  *
  472.                                                      Emery D. Wooten Jr.
  473. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%> THE <%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  474. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%> END <%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  475.